﻿using Minecraft.Config;
using Minecraft.ConnTest.Client.Send;
using Minecraft.Model;
using Minecraft.Model.ReqResp;
using System;
using System.Net.Sockets;
using System.Threading;

namespace Minecraft.ServerHall.Client.Receive
{
	public class Map_MapSelectNew
	{
		public void Execute(Socket socketClient, EnumCommand command, string respStr)
		{
			var resp = respStr.JsonDeserialize<MapSelectNewResp>();
			RespLevelJudge.Do(command, resp, () =>
			{
				//Thread.Sleep(3000);
				//ComManager.Send(socketClient, () =>
				//{
				//	return SendMapSelectNew.GetReq();
				//});
			});
		}
	}
}
